package com.zhanghaijun.createCode.jira.bean;

import org.joda.time.DateTime;

/**
 * Created by zhanghaijun on 15/7/17.
 * jira 问题实体类
 *
 */
public class JiraIssueBean {

    /**
     *  问题主题名称  Issue 的summer字段
     */
    private String issueName;

    /**
     * 问题状态
     */
    private String issueStatus;

    /**
     *报告人 全拼
     */
    private String issueReporter;

    /**
     * 指定解决人 全拼
     */
    private String issueAssignee;

    /**
     * 问题解决结果
     */
    private String issueResolution;

    /**
     * 问题key
     */
    private String issueKey;

    /**
     * 指定解决人的部门id
     */
    private Long orgId;

    /**
     * 创建日期
     */
    private DateTime issueCreationDate;
    /**
     * 问题级别
     */
    private String issuePriority;

    public String getIssueName() {
        return issueName;
    }

    public void setIssueName(String issueName) {
        this.issueName = issueName;
    }

    public String getIssueStatus() {
        return issueStatus;
    }

    public void setIssueStatus(String issueStatus) {
        this.issueStatus = issueStatus;
    }

    public String getIssueReporter() {
        return issueReporter;
    }

    public void setIssueReporter(String issueReporter) {
        this.issueReporter = issueReporter;
    }

    public String getIssueAssignee() {
        return issueAssignee;
    }

    public void setIssueAssignee(String issueAssignee) {
        this.issueAssignee = issueAssignee;
    }

    public String getIssueResolution() {
        return issueResolution;
    }

    public void setIssueResolution(String issueResolution) {
        this.issueResolution = issueResolution;
    }

    public String getIssueKey() {
        return issueKey;
    }

    public void setIssueKey(String issueKey) {
        this.issueKey = issueKey;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public DateTime getIssueCreationDate() {
        return issueCreationDate;
    }

    public void setIssueCreationDate(DateTime issueCreationDate) {
        this.issueCreationDate = issueCreationDate;
    }

    public String getIssuePriority() {
        return issuePriority;
    }

    public void setIssuePriority(String issuePriority) {
        this.issuePriority = issuePriority;
    }

    @Override
    public String toString() {
        return "JiraIssueBean{" +
                "issueName='" + issueName + '\'' +
                ", issueStatus='" + issueStatus + '\'' +
                ", issueReporter='" + issueReporter + '\'' +
                ", issueAssignee='" + issueAssignee + '\'' +
                ", issueResolution='" + issueResolution + '\'' +
                ", issueKey='" + issueKey + '\'' +
                ", orgId=" + orgId +
                ", issueCreationDate=" + issueCreationDate +
                ", issuePriority='" + issuePriority + '\'' +
                '}';
    }
}
